package com.lingdong.onlinejudge.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 队伍表
 * @TableName team
 */
@TableName(value ="team")
@Data
public class Team implements Serializable {
    /**
     * 主键id
     */
    @TableId
    private Long id;

    /**
     * 队伍名称
     */
    private String teamName;

    /**
     * 邀请码
     */
    private Integer teamCode;

    /**
     * 队长
     */
    private Long teamLeader;

    /**
     * 队员数量
     */
    private Integer teamPeople;

    /**
     * 是否需要审核
     */
    private Integer isExamine;

    /**
     * 队伍状态
     */
    private Integer teamStatus;

    /**
     * 口号
     */
    private String slogan;

    /**
     * 经验值
     */
    private Long teamExp;

    /**
     * 创建时间
     */
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    /**
     * 逻辑删除
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
